import request from '@/utils/request'

export function backTest(params) {
  return request({
    url: '/api/front/trend/simulate/' + params.code + '/' + params.ma + '/' + params.buyThreshold + '/' + params.sellThreshold + '/' + params.serviceCharge + '/' + params.startDate + '/' + params.endDate,
    method: 'GET'
  })
}

export default { backTest }
